﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Genuilder;
using Genuilder.Extensions;
using Genuilder.Extensibility;

namespace $safeprojectname$
{
	class Program
	{
		static void Main(string[] args)
		{
			foreach(var project in Projects.InSubDirectories("../..").ExceptForThisAssembly())
			{
				//Description of common features on (http://genuilder.codeplex.com/documentation#Common Features)
				project.InstallCommonFeature(CommonFeature.AppSettingsGenerator);

				//Description of Genuilder.Extensibility on (http://genuilder.codeplex.com/documentation#Extensions)
				//var ex = new ExtensibilityFeature();

				//Other extensions on (http://genuilder.codeplex.com/documentation#Built-in Extensions)
				//ex.AddExtension(new XamlResourceExtension());

				//project.InstallFeature(ex);

				project.Save();
			}
		}
	}
}
